Skip to content

Extend ObjectStore tests to both implementations#569

Open
JAB1305 wants to merge 2 commits into
eclipse-basyx:developfrom
rwth-iat:improve/test-store-extension
Open

Extend ObjectStore tests to both implementations#569
JAB1305 wants to merge 2 commits into
eclipse-basyx:developfrom
rwth-iat:improve/test-store-extension

Conversation

@JAB1305

@JAB1305 JAB1305 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

A _STORE_CLASSES class variable is introduced and duplicate test
methods are consolidated into subTest loops covering both store implementations.

Before:
basyx/aas/model/provider.py 119 37 32 0 68% 34, 60, 174-180, [...]

After:
basyx/aas/model/provider.py 125 11 32 0 93% 34, 60, 72, [...]

JAB1305 added 2 commits June 9, 2026 13:53
A `_STORE_CLASSES` class variable is introduced and duplicate test
 methods are consolidated into `subTest` loops covering both store implementations.
@JAB1305

JAB1305 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Also add type annotations, now AbstractObjectStore instead of specific implementations (Dict / Set)

@JAB1305 JAB1305 changed the title Extend store tests to both implementations Extend ObjectStore tests to both implementations Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant